package com.equipmentRent.system.domain;

import lombok.Data;
import com.equipmentRent.common.annotation.Excel;
import com.equipmentRent.common.core.domain.BaseEntity;

/**
 * 租购置单对象 biz_cart
 * 
 * @author ruoyi
 * @date 2025-05-24
 */
@Data
public class BizCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long quantity;

    /** 是否选中（0否 1是） */
    @Excel(name = "是否选中", readConverterExp = "0=否,1=是")
    private Integer selected;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    public void setSelected(Integer selected) 
    {
        this.selected = selected;
    }

    public Integer getSelected() 
    {
        return selected;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }


}
